package com.cfy.mybatis.spring.service;

import com.cfy.mybatis.spring.domain.User;
import com.cfy.mybatis.spring.mapper.UserMapper;

public class FooServiceImpl implements FooService {

    private UserMapper userMapper;

    public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    public User doSomeBusinessStuff(String userId) {
        return this.userMapper.getUser(userId);
    }
}
